<!DOCTYPE html>
<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .div0{
            overflow: auto;
        }
        .d1{
            float: left;
            width: 400px;
        }
        .d2{
            /*display: inline-block;*/
            width: 400px;
            float: left;
        }
        .btn{
            margin-left: 400px;
            margin-top: 10px;
        }
        .btn button{
            border-radius: 15px;
            width: 100px;
            height: 50px;
            font-size: 28px;
            font: bold;
            background: #019677;
            color: #fefff9;
        }
        p{
            width: 400px;

        }
        p span{
            font-size: 20px;

        }
        p input{
            height: 28px;
            width: 250px;
        }

    </style>
</head>
<body>
<form method="post" action="${pageContext.request.contextPath}/leaseContract/lease_add">
    <div class="div0">
    <div class="d1">
        <p>
            <span>合同编号</span>
            <input type="text" name="contractNO" required="required" value=""/>
            <span style="color: red">*</span>
        </p>
        <p>
            <span>合同摘要</span>
            <input type="text" name="contractInfo"  required="required" value=""/>
            <span style="color: red">*</span>
        </p>
        <p>
            <span> 签定日期</span>
            <input type="text" name="sigDate" value="${lease.sigDate}"/>
        </p>
        <p>
            <span> 存档日期</span>
            <input type="text" name="keepDate" required="required" value=""/>
            <span style="color: red">*</span>
        </p>
        <p>
            <span>合同经办人 </span>
            <input type="text" name="contractors" value=""/>
        </p>
        <p>
            <span>合同名称</span>
            <input type="text" name="contractName" required="required" value=""/>
            <span style="color: red">*</span>
        </p>
        <p>
            <span>租凭开始日期</span>
            <input type="text" name="leaseStartDate" required="required" value=""/>
            <span style="color: red">*</span>
        </p>
        <p>
            <span>租凭结束日期</span>
            <input type="text" name="leaseEndDate" required="required" value=""/>
            <span style="color: red">*</span>
        </p>
        <p>
            <span>租金</span>
            <input type="text" name="rental" required="required" value=""/>
            <span style="color: red">*</span>
        </p>
        <p>
            <span>租凭用途</span>
            <input type="text" name="rentalPurpose" required="required" value=""/>
            <span style="color: red">*</span>
        </p>
    </div>
    <div class="d2">
        <p>
            <span>付款方式</span>
            <select name="paymentTerm" required="required">
                <c:forEach var="paymentTerm" items="${paymentTermList}" varStatus="status">
                    <option value="${paymentTerm.id}">${paymentTerm.valueName}</option>
                </c:forEach>
            </select>
        </p>
        <p>
            <span>租金交付情况</span>
            <select name="paymentStatus" required="required">
                <c:forEach var="pamentStatus" items="${pamentStatusList}" varStatus="status">
                    <option value="${pamentStatus.id}">${pamentStatus.valueName}</option>
                </c:forEach>
            </select>
        </p>
        <p>
            <span>备注</span>
            <input type="text" name="remark" value=""/>
        </p>
    </div>
    </div>
    <div class="btn">
        <button type="submit">增加</button>
    </div>
</form>
</body>
</html>
